package cn.nit.blog.service;

import cn.nit.blog.entity.User;
import cn.nit.blog.vo.UserVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wjx
 * @since 2023-03-21
 */
public interface IUserService extends IService<User> {

    void register(UserVo userVo);

    public User getUserByEmail(String email);

    Integer updateUserStatus(String code);

    User getUserByUsername(String username);
}
